package codingforgreat.lchot150;

public class Lc344 {
    public void reverseString(char[] s) {
        int L = 0;
        int R = s.length - 1;
        char temp = 'a';
        while (L < R) {
            temp = s[L];
            s[L] = s[R];
            s[R] = temp;
            L++;
            R--;

        }
    }
}
